package com.yaorange.teaching.service;

import java.util.List;

import com.yaorange.teaching.bo.HighInterviewMasteryDetailBo;
import com.yaorange.teaching.bo.QueryInterviewMasteryDegreeBo;
import com.yaorange.teaching.bo.RelatedInterviewBo;
import com.yaorange.teaching.domain.YaHighInterview;

/**
 * 高频面试题Service接口
 *
 * @author ruoyi
 * @date 2024-11-15
 */
public interface IYaHighInterviewService
{
    /**
     * 查询高频面试题
     *
     * @param id 高频面试题主键
     * @return 高频面试题
     */
    public YaHighInterview selectYaHighInterviewById(Long id);

    /**
     * 查询高频面试题列表
     *
     * @param yaHighInterview 高频面试题
     * @return 高频面试题集合
     */
    public List<YaHighInterview> selectYaHighInterviewList(YaHighInterview yaHighInterview);

    /**
     * 新增高频面试题
     *
     * @param yaHighInterview 高频面试题
     * @return 结果
     */
    public int insertYaHighInterview(YaHighInterview yaHighInterview);

    /**
     * 修改高频面试题
     *
     * @param yaHighInterview 高频面试题
     * @return 结果
     */
    public int updateYaHighInterview(YaHighInterview yaHighInterview);

    /**
     * 批量删除高频面试题
     *
     * @param ids 需要删除的高频面试题主键集合
     * @return 结果
     */
    public int deleteYaHighInterviewByIds(Long[] ids);

    /**
     * 删除高频面试题信息
     *
     * @param id 高频面试题主键
     * @return 结果
     */
    public int deleteYaHighInterviewById(Long id);

    List<HighInterviewMasteryDetailBo> selectHighInterviewMasteryDetailList(QueryInterviewMasteryDegreeBo queryInterviewMasteryDegreeBo);

    RelatedInterviewBo selectRelatedInterview(Long cdId, String courseContent);

    void exportEs();

    int queryPercentage();

}
